package com.kede.service;

import com.kede.domain.StoreUserOrderDomain;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 11856
* @description 针对表【t_store_user_order(用户到门店消费物资记录表)】的数据库操作Service
* @createDate 2023-06-07 16:32:19
*/
public interface StoreUserOrderService extends IService<StoreUserOrderDomain> {


    /**
     * 获取某个人购买的某个物资数量   用于做限流
     * @param supplieId
     * @param userId
     * @return
     */
    int getBuyedNumBySupplieIdAndUserId(Integer supplieId,Integer userId);

}
